export type Key = string | number;

export interface TreeLike {
  id: Key;
  name: string;
  virtual?: boolean;
  pid?: Key;
  parent?: TreeLike;
  children?: TreeLike[];
  depth?: number;
  sequence?: number;
  length?: number;
}
